Merge pull request #575 from forki/Rename

Make the Rename dialog use parsed Symbol
Check union cases for invalid chars - relates to #567