Improved variable-naming robustness, several bug fixes for plotting, improved date extraction.