Moved some scripts and made global flags preferences.
Removed GuiFlexibleArrayControl.