Fixed pygame crash and added some small things.