Test and doc updates

These changes add a frame to toplevel windows where appropriate.  These changes eliminate the resizing artifacts on OS X.