Reduce INITIAL_WINDOW_HEIGHTS_LOAD.

Two screens ahead was unnecessary and could cause noticeably slower
refresh, particularly in headlines view.
Finalize all statements and close the connection on shutdown.

Fixes issue #40.
Fix completely broken favicons refreshing.