frame improvements

What's the purpose of this commented out code?