Added common gui elements file, moved function there
Made fancy display an object for easier creating of settings