fixed issue #616
fix #616
fixed #616
fixed #616

corrected the indentation
fixed #616
fix the asset flashing and extra scratchpad.set_readonly calls
merge new asset tab fixes from PR #689
fix a bunch of thrown strings without error objects