Modified header some more. code is still working and tested. This should be considered a production version as of 24 - 07 - 2014