Element drawing refactored. New window frame graphics.