Closes #324 - visualization settings being ignored.

This was caused by the recent task ID delimiter change from '%' to '.'.
The new delimiter has to be escaped for use in regular expressions.
Also fixed a couple of other instances of this problem.
Merge pull request #325 from hjoliver/324-fix-visualization-settings

Closes #324 - visualization settings being ignored.