Pass boolean arg to main if GUI is Processing tool

This is passed in via the main args. If the first argument is the String
value "true", then the gui was launched via the Processing tool.