elevator: Make heartbeat parameter of run, not whole class.
main: Tweak heartbeat handling, make them shorter.