Preliminary GUI, code is currently a mess