Drawing is now done via events, rather than a single function.