updated gitignore and clean up some src files

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'master' of github.com:plastboks/Mousing
some code commenting

Signed-off-by: Alexander Skjolden <alex@plastboks.net>