obey the exit flag
moved window widgets into window struct
removed window expose and resize event
made sure wayland-backend egl calls happen in drawing thread
use widget struct in window instead of copying fields via macro