callback destruction

*Fix some memory leak
pageloader destructor work in progress