Added error handling on client wrapper
Added Null character
Made sure first map is always returned if no map name is available
Moved some code around, made pathfinder static..