Fixed hintpanel

Finally got hint panel to work somewhat right. It's displaying the
hints correctly when the button is clicked. I'm working on the other
buttons now.