Fixed NullPointerExceptions that appeared when switching details quickly in dual-pane mode.
Closes #64.