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