various improvements
added upload/paste, improved vim macro, small tweaks