Painting & IO & stuff