Use C++ inheritance for UI gadgets
Use unique_ptr for grs_subcanvas
Wrap pause window message in structure
Use C++ allocation for window-specific data
Move saving window pointer into helper