correcting bugs, fixing Photobucket with x-rauth header hack