Improve messages system
Stop error reporting messing up my redirects, also fix spelling mistake