All API calls now block the extension thread, should solve a lot of issues