Added some cool progress bars, general code clean up, fixed compiler warnings and makefile.