Fix NPE on book command
Dirty fix: Remove the engine type
Quietly log SQL queries
Fix settings and statistics not being synchronized properly
Fix a long-standing issue with permissions
Dirty fixes to Book API