Change some references from FrameContainer to Window.

Issue #46