UIElement, and inputhandler changed to set active object, and play nice with interface.

Interface still needs work