fixed deprecation warnings, removed puts, fixed buttons in show