Fixed crash for launch with arguments.
Reimplemented input shell system.