moved error message class to options
removed unused options
reworked how the message html is generated