fixed potentially disastrous bug with destroying level template when saving template...