Prevent lines that shouldn't be get bigger to get bigger during zoom
Removed switch, for now we just depend on boost::shared_ptr
Fix build for OSX