add Capture feature
code cleanup
add a switch to enable/disable capture
add quick view
Bug fixes and improvements