Committing work in progress: adding widget commands, implementing more
plot and widget methods.