Fix possible NPE in preferences.
Speed up channel update.
Changed version to 0.4.