HID plugin: fixed build on Qt4
Monitor: fixed crash when loading a project with the monitor open