Updated methods for storing/getting user data and global data. Now much quicker.
DemoFrame now uses new methods for storing result as global data.