got it fixed thanks to some help from @J . it worked almost as is with a small tweak, but we overhauled it and i added my menu to it
https://scontent-a-iad.xx.fbcdn.net/...29118027_o.jpg
obviously the features aren't there yet, but i got a few tips on how things worked, and i have theories on the others, i'm sure this is gonna crash a lot XD