Fixed bugs, added support for config and mergin yesterdays programs.