Department selection and bug fixes.