Refactor frametools.plotframe to not read from disk.

Allow plotting from memory by introducing a lower level
function plot_frame that doesn't try to read from disk.