Fixed Firefox flexbox bug. Working on IndexedDB

WHY IS INDEXEDDB SO HARD TO USE