Updated main() so that it uses right parameter settings.
1.0.0
The release contains: * Shebang and and unicode emcoding tags * Apache Licence, v2.0 file * Some rearrangements of import statements to facilitate pyinstaller operation * Updated documentation