WPA gui code base with modifications for Qt5