Made it compile as C++11
Started implementing some image stuff.