Fixed build warning in the conversion int -> pointer -> int
Removed macroses of the conversion int->pointer->int
Fixed functional of the pause/unpause