More memory leak fixes
Added ability to free empty tile available values