enhance user experience by displaying loading indicators and hiding broken or

useless stuff.
code cleaning
add spin.js dependency to display loading indicators
code cleaning + log improvement
improve logging