Parse UI options for commandline handling
Added differentiation from GUI/CMD