pygame improvements