Lightweight console replacement. Written in C++03