Re-added command line execution support

If executed with no arguments from command line, GUI will open,
otherwise command line operation will follow.