I AM A GOD (refactor, fixes, and ghost stuff)