Added loading icons & preview. Improved JS and usability. Fixed saving issues.