fixed card_reference bug (but not all the bad data yet)
made it so one cannot have an edit conflict with oneself
temporary menu hack to get template closer working