LennyGUI

Fixed some errors with the newly implemented error checking, should be
relatively solid by now. BUT, if you are absolutely certain that you are
being wrongly thrown an error then comment the 'if type(x)' line that is
giving you trouble