Make things not crash

Make things not crash. Now it is stuck in an infinite loop because
episodes are not being updated. Added debug print statements.