fixes for BZ issues 1015513 and 1015505
Merge pull request #19 from EricWittmann/gadget-BZs-2013-10-05

fixes for BZ issues 1015513 and 1015505
fix for BZ 1016043 - better 403 error handling
Merge pull request #20 from EricWittmann/master

fix for BZ 1016043 - better 403 error handling