Fixed stack frame functions.
Cleanup of names.