added initial callback support
daily update: some bugs fixed, compiled xpath expressions stored in nodes where possible