rename sf to pgh, more logging, debugging
fix unicode logging bug, ugh