Add 'check for update' feature

this commit contain "check for update" feature/improvement and some code refactoring on stylesheets and "open external" directive