Fix bug causing hang when knobs turned

* Caused by unspecified return value in nocturn.c:accelerate().
Clear out unused stuff from knob_mapper
Move left_right_compare to knob_mapper
Whitespace and include guard cleanup