Improved runtime performance, currently hunting down a bug where the whole application gets repainted although only parts of it are refreshed