added debugging help and changed gitignore
Code cleanup, formatting, and some compiler warnings removed
Code cleanup