updated for meteor 0.8; minor bug fixes