made button frame methods public, cleanup