445 button db fixes

fixes #445
question: since 445 fixes 452, 444, 407, & 393, will approving this cause all those to close through 445, or should they be mentioned here as well? 

fixes #452
fixes #444
fixes #407
fixes #393