Minor code move

Move animation based state data together and add comments
Print info about shader compilation to console
Rename 'GlobalState' to 'SharedState' to avoid confusion with GLState

This was particularly nasty with the shorthand macros
'gState' and 'glState'. The former is now 'shState'.
Forgot to add license header
Update config table and default values