Fixed vb ^a stuff, moved around a little global variable stuff.