Edited document gui and theDocument to accomodate new documentReader
class