Use Options→Show User Preferences to open the settings panel. In "Our Paint" page you could change undo step limit, with a maximum step of 256. Undo history will be cleared after reading any data files.
In "Resource" page you can add a few more directories for resource files. Our Paint will load all brushes that contains OURBRUSH in their identifiers from these directories.