Working on core emulator logic and drawing