Fix stupid error involving memsetting with the wrong size argument...
Flip the colourspace to work again - there must have been a difference in how the temporary file handled things. Reduce output spam
Start moving the native library definitions into the right place (was in uncommitted test files)