adding a bunch of functionality to the compiler, including a preprocessor, better comment stripping, nestable loops and minor fixes.
updating logic that saves animation to ensure storage process succeeds
adding logic to support compiling .gbg script and storing it to the device in one operation; adding other logic around scripts to the test interface