Basic CSS support, reconnect option

Add basic css support
Fix reconnect option (still some minor issues to resolve)