Add magic for compilation window - get rid of it if no errors