clean open frame case and add some docs