Fixed hard tabs in monitor.cpp

From: Niklas Nielsen <nik@qni.dk>
Review: https://reviews.apache.org/r/15500
Fixed string leaks in os.hpp.

From: Niklas Nielsen <nik@qni.dk>
Review: https://reviews.apache.org/r/15368