Bugfix (wrong variable) in call to dotprofilizer
Implemented cleanup etc.

SBoggit: Use new uninstall_package function
buildfunctions.sh: Use new echo_lined function
echofunctions.sh: Add new echo_lined function
newfunctions.sh: Finish uninstall_package function, other cosmetic changes
Update comments. Add genreprc (not currently used).