Log viewer updated; rand to mt_rand submit by tspaul;