Fix some shit with beams.
qdel before cleanup.