Fixed errorcodes
Fixed duplicate achievement handling