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

Signed-off-by: tcki <teckie@alphachat.net>
Merge pull request #1 from tcki/master

niceify