add no-titlebar support