fixed constness issue again ;)
fixed crash when closing file dialog
working on slices normals