Set up variables, basic button states