Remove glue-specific error messages relating to nested frames
Remove redundant functions