Added basic web code for opening urls

Also fixed bada compile issue