Changed to platform independent notification system
removed unused variable
Added icon
Moved text to body
Fixed asking for permission
Chrome style permission check
Fixed nonworking permission check
fixed syntax error