Added view features to lab; general bug fixes.