adding ! syntax and a history keyword to inspect the history stack: resolves #21