added mouse handlers and mouse driver isolation