* fix bug with unsigned comparison not catching EOF
* enable stricter compiler warnings