simplify frame parent/child handling

provide methods to get parents/childen
provide program to show frame hierarchy