Set up tab-wise navigation & re-rendering view on error.
Added view refresh on errors
Moved code for rendering error and resetting view to render-settings.js
Deleted some unnecessary code
Merge pull request #191 from scrollback/pivotalbugfixes

Re-rendering config-view in case of errors.