Modify openstream() to read m.lastcomm less often.