More refactoring for MiniPlayer

It is now possible to create more glass windows!