Removed some debug statements.
Added comments and settings changes

Only using pipe 1 and removed some dead code in the settings.