Found and fixed some bugs this morning. I should never code drowsy.