Removed the edit<->object mode switching
Also made it a proper addon with a menu location and all (Mesh->Select)