Cleaned up a bit and turned on all compile flags.