added function to get supported resolutions, redefined lg.setColor()