Improvements for crud-view and general bug fixes