Started work on GUI again, got resizing implemented correctly