Put try and catch around capture code
Added try and catch to load and save options