Fix bugs in implementation, unitialized shit n's stuff.

Working now, brings up application 1 with no issues. 

Fuck yea.