Minor fixes.
Allow logging in standalone mode.