Added error page. Fixed layers.