update to react 0.4.x-dev (because we can) + better error checking (because we have to)