remove/comment unused code
remove brightkite thumbnail code
comment/remove redundant condition code
cleanuped