[#21] Clean up graphics.c and add mailbox.c