fixed broken eraser tool
brush and eraser actions added to edit menu
refactored clear canvas function