Fix palette selection and improve background and grid colours