Added na.rm=TRUE to all calls to sum(), median(), quantile() inside fuctions for calculating tables on the Proportions tab.
First measurement occasion is now selected by default on the Proportions tab for table output. Also bugfix.