added AppTimer support

AppTimers work fine on my local version, which is compiled for Mac OS. I have no idea whether this will work with the Linux or Windows versions, so please test it first.