fixed inputloop and handcounter
Merge origin/master