Clean up some warnings, and make the CRT ones more relevant
Merge pull request #397 from zrax/warnings

Clean up some warnings, and make the CRT ones more relevant