Remove some warnings

This commits remove below ruby's warnings. (checked MRI 1.9.3 with ```$VERBOSE=true```)

* warning: assigned but unused variable
* warning: instance variable @{ivar} not initialized
* warning: loading in progress, circular require considered harmful