Cleaning up and setting titles