Separated UI into ui/*.html files
Added Quad support for .an8 loader