Use typedef in monitor.h
Rewrite a little bit of GUI code to be shorter
Second report