Sketchy SQLite saving system, will fix at a later date.