fixed bool handling in ambctl and database logging on startup
[ambctl] fixed quit