Added offset advancing/retrieving code, fixed cbinding bugs, fixed libfc.cpp compiler issue