adding tiles through edit mode

also fixed tile palette bug, now selects the right tile and displays
full tile atlas