Add automatic layer creation for Brushes, Linear Gradients, and Radial Gradients. Currently, a layer is created only if there were no layers before. Add automatic layer creation for the main tools so that they don't accidentally overwrite the curr...