Update licence header in files.
Add intellij files to gitignore.
Fix the selected attribute in options list to select the right option when a saved file is loaded.