Changed message to not include a ' symbol.
Removed redundent functions
Removed calls to redundant fuctions
Corrected use of $numleft variable
.htaccess now blocks .git folder from web access