Map <F4> to paste text from clipboard and minor cleanup.