added main argument as default workspace location
fixed agent default color, popups key and char event priority