Added error handler
changed browser title