pre-load UI with existing data if it exists
text selection and uglify/prettify functionality in UI