Updated "print" output to include the build command used

So you can debug libraries, classpaths, defines etc.
Removed unused local functions. Updated build file.

Current state passes all unit tests...