serious hackery - first attempts at migrating towards php 5.2 version, eliminating output buffer based callbacks; using spaces instead of tabs;