Improved profile editor for issue #1576