Optimised window drawing.
Signed-off-by: Michael McClenaghan <michael@mcclenaghan.com.au>