minor fixes, such as making CheckForFrontEndErrors more accessible minor hacks to make stuff compile with TeaVM