Debug output slightly more useful
zwindow references now getWindow calls

Also some work towards making transparency and true colours work
properly.