Modified callback dispatcher to log errors in a platform aware way

Signed-off-by: Martin Evans <martindevans@gmail.com>
Found a way to construct the visual studio project so that it just links to the files in their current positions. No longer need to duplicate everything.

Signed-off-by: Martin Evans <martindevans@gmail.com>