Cleanup, set default debug flags