Code cleanup. Fixed styling/indentation.
Various updates & fixes:

Fix 'select default value' for type select
Allow HTML as default value
Add richtext editor profile