Support for Space Navigator 3D Mouse?

Getting the selected object is really easy now, check out how Editor Utility Widgets do it (under Scouting.)