Updated Linux support.
Fixed a crash when file loading fails.
Removed unused variables.
Removed Makefile in favour of SCons