Initial survey gui code