Not needed since main loop is not used
No C-style casting needed - there is bool type in C++
Some comments added
Constructor fixed
Making sure there are no warnings
String concatenation improved
Razor-Qt formatting style applied