updates to mouse commands

Added setTargetOffset, and mouse will move to target window for click,
rightclick and double click