It would be cleaner if this method were to be refactored into 3 separate methods:

1. CoreUI based drawing
2. Textured window drawing
3. Manual fake drawing