Avoid unnecessary asynchronous calls

The following changes check for valid ilCtrl calls only when the entered GUI classes changed. Before, this check was executed once a second.