fixed basicbox game refs
added all vars to scope, added pause var
updated pause