added callback for xmouseover and a few todos