Refactor Random private members

Change: private members adhere to underscore convention.
Refactor Terminal private members

Change: private members adhere to underscore convention.