-Save function now uses course settings from database

-Bug fixes