removed error popup
added bak action
removed debug code
added code to write course selections to a file