Friendica optimisations and Red installation