Refactored some code for consistency, also added a few new options, -f will analyse and output to the filename.oz, -o will optimise but still print to stdout, -p will pretty print and -c will statically analyse and output a statistics page.