Adding removelibs build target
Returning results from various function calls that don't already do so, for debugging purposes and such. Release builds will use preprocessor definitions to suppress return values and such.