fix some problems with theme problems. now the application runs fine and faster within the menue