When working with several documents one sometimes clicks on document build when the focus is not on the main document.
The builds starts and stops with a lot of errors.
It would be good when the program would check if the main document has the focus before starting the build.
If not the main document should get the focus first and then the build can be started.
At least for me, this would would save the one or the other "failed" build ;o)