YAY IT WORKS HOLY CRAP IT WORKS

Now for the gui stuff.