added resize canvas operation and switch-to-pencil option for the colour picker