Fix MOJO-1559

I applied the patch provided by Leandro for [MOJO-1559](http://jira.codehaus.org/browse/MOJO-1559). It adds the startOnFirstThread flag which is useful for SWT apps.