fixed arg parsing system, gui crashes