Updatet ThreadInvoker

Renamed MainThreadInvoker to ThreadInvoker and made some optimations
Updated MCI_API

1.) Exception throwing linked to a boolean
2.) UnknownException handling
Removed MCI due thread incompatibility