Globals

This is not meant to be merged, just to get jenkins to test the code.

When running the tests on my machine I get: http://pastebin.com/wcXc9c0f an error because too many dlls are loaded (damn test_env!!)

Let's see what happens with Jenkins.