More bug fixes with rename gui window not showing preview properly