Some more code improvements, removed deprecated functions
Some more code improvements, removed deprecated functions

fabrixxm/friendica,fabrixxm/friendica,annando/friendica,fabrixxm/friendica,friendica/friendica,friendica/friendica,fabrixxm/friendica,fabrixxm/friendica,tobiasd/friendica,friendica/friendica,annando/friendica,tobiasd/friendica,annando/friendica,tobiasd/friendica,friendica/friendica,tobiasd/friendica,friendica/friendica,annando/friendica,tobiasd/friendica,annando/friendica