Fix issue with first log not being displayed. Fixes #25.