Remove debug, treat warnings as errors