Fixed some tiling bugs and added tile deletion.

Signed-off-by: MGZero <steven.calandra@gmail.com>