Small improvements to OS
Port BlazeLoader's logger class.
Improve Logger and fix a typo