Fixed issues #21 and #19

- Little fix in the plugin after a compiler update
- To be tested, should fixed issues #21 and #19

Note: To be tested with 2 Randori projects + 1 other project in the same time to see if Randori still mix the problem window, the messages, the save and the build, the refactor can be tested too on add/delete/rename/move/change files.