clarify: while loop without body is correct here
prevent double include of debug.h
main should always return int

this fixes some compiler warnings
Merge pull request #46 from mehlis/master

fix some more compiler warnings found by clang