Turned off memory journal mode
Various bugfixes