RE: Implementes --uninstall option

ref #234

Fixed some issues.