Progress on rename handling. #7

Currently renames workspace, but does not yet update internal buffer id.
Removed trim.