changed is_running function to be a little more productive... still needs a lot of work and doesn't work right yet... :(