Component bugfixes (threading and message ID archiving patch), and finished first release of API framework