Cleaned up meshviewer and added screenshot capability