I believe I have fixed the bugs...somehow.