arranged fields of widget struct
window has it's own draw thread now