Fix deprecations
Use 10ms emulation pulse
Move emulation clock to machine and CPU
Fix broken tests
Replace PixelBuffer with a simple Vec<u8>