Extract error box from puzzleView, introduced mainView as container