fixed init without xdata in model; mouse move handling now optional; added mouse click handling