Escaped output to Preview error page

Updated some naming and aesthetics as well