numerous improvements and new commands. 1.0.4 release