Correction to html islands to create failure message and messages. plus some tidy ups