2D game tile editor using SDL