formatting, bugfixes

after incorporating pre-littlemousy changes, code was reformatted again
to now get a diff against latest littlemousy version
some bugfixes, more comments, ...