Removed buggy below setting for legend, added word wrapping to legend, closes #1056
fix reference to filter list breaking
Fix for queries and filters losing references, closes #1089
Removing extraneous console.log messages.
Remove debug, fix instance where custom date formats may cause errors
Merged upstream