Improved the image initializing, and implemented the triangle loading from file.