Fixed task taking up much ram & Fixed SQLite support for linux