Remove LoadListener class and other compilation fixes.