added networking toggle, fixed some things