exit earlier in init, add docs, links
add texture and stub api
fix build script