I think I completely rewrote this and added a `try/catch` combo to be extra sure. Pretty sucky really.