! avoid any potential class name conflicts

Signed-off-by: Spuds
! clean up code, mostly mundane items
! use _ to indicate private functions in classes

Signed-off-by: Spuds
! move standard css files to loadcssfile function so combiner can work with them

Signed-off-by: Spuds
! Make the most recent attachments available for profile view etc
! Add in some mimetypes

Signed-off-by: Spuds
! more cleanup

Signed-off-by: Spuds
! Leave as SMF