Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others I
introduced.
2 files changed