Save original width and height before resizing
Added resolution snapping for video encoders
Fixed empty config files on first run
Added support for native enums and renamed string-based enum class