Fixed PIBCAK error, main is complete for now, moving into Test First stage