Changed --nocleanup to --cleanup.
Source will be kept by default unless --cleanup switch was specified.
Moved stuff to their own functions - this makes the main logic clearer.
Also makes specific functions easier to edit.
Some error checking added - now checks if .deb packages exist before installing them.
Now doesn't blindly blunder ahead and make doc dirs/update rc.d/say "success" etc.