Fixed version number in help file and fixed up some small cosmetic changes
Fixed faulty input stream handling