Log refactor

This fixes some inconsistencies in the log view, and makes the view more context sensitive. The :<number> still needs to be handled for the unsplit log view, though.

Comments and criticism welcome. Thanks!