fix code formatting and bug with losing enums when using --gen-onefile
3 files changed