Merge all changes from https://github.com/ig0tik3d/GroestlCoin-cpu-1.0a