Quadicon, selenium and flash fixes

These have actually already been reviewed in #312, which I am splitting in two.  Will close #312 and submit the 2nd half separately