Updates Theme Widgets to use proper theme name in palette
Tweaks to canvas dirty indicator
Issues: WM-4601

1. When minHeight forces height to be different from input to
set_height, we now update desktop or mobileHeight to the actual value

2. toJson no longer uses a newline if an array is an array of non-objects