Removed SQLite Dep. Fixed exit on windows