* Fixed some crashes * Added multithreading support, default to 4 threads. * Added some command line arguments