Add paste inputing support

and minor changes from UI