new implementation of rpn_comm_wtime and cosmetic fixes