Enabled warnings and sane optimization during compilation. Increased number of messages used.