Merge pull request #960 from diizy/master

Fix erroneous note offset in instrumenttrack
Attempt to remove mutex calls from instrumenttrack::processinevent
Instrument track, mixer...
Rebase on master to fix older bugs
Pattern.cpp: Remove unnecessary global locks (improve rt safety)
TrackContainerView: remove unnecessary global locks (improve rt safety)
file_browser: remove unnecessary global locks
visualization_widget: remove unnecessary global locks
InstrumentTrack.h: Remove unneeded includes
Move playhandle-adding to the correct spot so playhandles won't get delayed
VstBase: include 32 bit version of libwinpthread DLL for RemoteVstPlugin32

This is required with latest mingw-x-runtime packages.
Merge branch 'stable-1.0' into stable-1.1
Merge remote-tracking branch 'origin/stable-1.1'
Effect plugins: don't set modified flag on control changes
Fixing a bit of a silly error made by me, all control changes on my effect plugins were flagging the project as modified, which is annoying with automations etc. So I'm disabling it. Maybe later we can have flagging only when knobs are modified manually.
Merge pull request #964 from diizy/stable-1.1

Effect plugins: don't set modified flag on control changes
Merge pull request #965 from LMMS/stable-1.1

Stable 1.1
Merge pull request #976 from diizy/master

SF2: Fix crash with stacking/arp
Merge pull request #979 from diizy/master

Peak Controller: improve envelope calculation
Merge pull request #961 from diizy/master-atomic

Improve RT-safety by eliminating some global locks