Complete mess atm, almost got Document.pm port done, moving to Eina_Hash for filters to allow quicker lookup of modules in machine_spec once we get to only grabing fiters required for incoming document, getting a null data message attempting to add to hashmap of filters atm .... :\, result population is working though, just need to rework XSB code as currently handlers arent correctly propergating up the stack, and 'result' pointer needs to be passed also.