Display timer in popup

Timer is now displayed in the popup instead of the console. Also
separated CSS into separate file.