Added ability to remove presets

Also did some general bugfixing and crash prevention.