Fixed bug where globals were not available to config mechanism
Fixed bug where tag parsing occured more than once.
Removed unused comment removal code.