Better metadata bar; added heartbeat function with setInterval instead of handling things inside the mouse event handler, which is pretty slow