Fixed a bug in dream.
Merge branch 'master' of bitbucket.org:monty_vesselinov/mads
*.running problem fixed
Merge branch 'master' of bitbucket.org:monty_vesselinov/mads