Added basic commandline arguments handling to GUI