factor out asset loading, provide fopen_asset(), implement basic asset paths
simplify - remove all the D3D stuff