Profile & STFS Changes

Fixed some bugs in the STFS & XDBF classes