working on delete selected tile gracefully, but my code is bad and I should feel bad.