Add history state to Front End and better errors gem.