Error marker now has close button

Updated the function of the error marker so that it has a button that will close the marker
in the info window that pops up upon clicking.