Major changes

I have made some major changes/improvements. The most important is the way that the input control is handled.

I hope you like it!