[extension] Removed some extraneous code
[extension] Added long swipes -> switch tabs. Also, only selected tab
processes gesture
[extension] Added debug option to building extension