Changes to the input process. New input, new reader. Use Hama 0.6.2
I tried to fix some stuff because we missed some things. Please evaluate.