Fixing truncated logging.
Bugfixes for head_crop.
Merge branch 'master' of github.com:ami-lab/AmI-Platform