Fixed all the buttons.
Some other minor bug fixes.