Implement most of frame actions