Cleaning up

Changed the way the .as file is formatted, along with the documentation.

Transitions are now added differently and don't need a specific order
anymore, but follow an id method.

Also fixed a few fail-safes when changing some flash settings.