Free allocated shells on failure case.
Change release order of shells.
Add wlc_seat, beginning for input.