flash() css and other fixes