code for adding title bar to xhalo window