Added <img> tag refresh support.
Fixed page filckering due to missing css definitions while refreshing.
Internal code cleanup
Added images to the demo.