fixed some crashs in api, and re-enabled html compiling, bad yoshi2!