Added new gui with better image buffering