Function: frame-initialize

Create an initial frame if necessary.