code cleanup, header standardization, optimise images, remove IE6 compatibility layer

Signed-off-by: tcki <teckie@alphachat.net>