Working version minus a few needed updates that are currently commented out.
Errors marked, program runs, but needs a few small fixes.