added chatMode (toggle with t)
tried to fix coordinate-calculations
removed some debug messages