Fixed issue with background not showing tagging status correctly. Found a @mode varialbe that is never set???? Used @.data('phase') instead which is used in all other code lines for this purpose