Make insert_disk take a reference

This reverts commit ab666473e4409f4f28dcfc1fcc3778f849ff2b96.
Improve disk insertion and ejection