Added rthe option to upload files by right clicking.
various bugfixes