Easier debug
Nan check
Using BCGenie improved code
Changed order forgot one function
Making animate to work.. Will need to fix this later