fbox.t: destroy only if window changesd visibility before

A fix to the occasional
    window ".fbox" was deleted before its visibility changed
problem.
Merge branch 'expose-loop-experiment' into XXX-travis-ci