Alot of small stuff is done in this commit e.g. database bug, logs.