Fix minor ui bugs, set minimum window size