Implement the uninstall command.

Made also some tweaks to the render stuff.