Added control of mode in showing log. Closes #133.