remove 'paste()' calls for formatting output; give figures a prefix and name chunks; minor fixes as per github discussions