Fixed error that prevented TagImplication from being deleted (issue #44).
Also removed some commented code and added some curly brackets (can't avoid it).