Changed debug mode.
Added master view.