Numerous minor bugfixes.
Added API method for getting updates relevant to the authenticated user.