Started GUI development, several fixes