Finished new mod loader, and fixed some bugs in graphics