fixed race condition while mesh loading; decoupled physics from view; added minimal view version for server; style; test fixes