bugfixes and improved activities and monkey simulation