Refactoring and sorted out the Makefile debug option
Switched to hard tabs in all files
Refactored backup file code, also added a hard roll back to 1 when we hit the extension limit
Added counter to thread safe stack