Fixed all the libtcod errors