change the tool bar to allow more than two pages of buttons, so it would
fit on Q10. Also removed some extra print statements