Now using standard C89. Also added very strict warning rules to the compiler with -Werror.