Implemented sleep() macro to use either portable C++11 functionality, or Windows' Sleep() call (for now; this will most likely be dropped completely soon).