Updated uninstall. Now it won't stop if one package is not availabile. Each package is removed on its own system call
Removed code duplication.
Fixing typo
Fixed errors