removed deprecated functions.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
replaced millions of unused globals ..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>