The registerthread now accesses the player-object in a synchronized
manner.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>