Removed some console.logs and tweeked for readability.
Made a few changes around making classes set in reflow come through in plugin.