Fixed bug in getMainStringTable, fixed function resolution for statically linked files