small changes to button functions

Added mode buttons(draw, erase)