got titlebar to work