Fixed a bug where strikethrough states were being rendered
inconsistently. Now properly closing the database where appropriate, and
explicitly setting non-complete items to not having the strikethrough.