Time to rewrite the program!

This will take a few days, sorry, guys!