Small bugfixes and renamethread.php

Back button in RenameThread.php still a work in progress