The energy debt thing can be handled by simply going into negative energy. It's not pretty, but not too complicated either.