Reordered parameters, most important first.
Complete exception in messagebox when unable to parse a file
Added --mode command line argument