signals are signed ints (we were comparing unsigned ints and signed ones)
Cosmetics: add some break statement at the end of switches' branches

This is to please eclipse source analyser, and yeah this can reduce
future bug introduction if another case is added afterward... Well,
could be.
ignore more generated files
kill some unused static functions
kill an unused private field