switchedit fixes and documentation update