Fixed bug in unit test that was causing it to fail on MSVC (it worked by coincidence with GCC)
Got queue to compile with exceptions disabled
Wsign compare warning fix