Updated how the output is scrolled, to account for the actual number of rows available in each user's terminal; also made a series of PEP8 improvements (current pylint score: 9.45/10).