disable buttons, and other nice stuff