Version 1.04

New version 1.04 with rewritten code -more robust- and some new
functionality here and there.