Fixed "ruby -w" warnings.

warning: instance variable @tasks_loaded not initialized
warning: ambiguous first argument; put parentheses or even spaces
  (the regex slash could mean division)
Merge pull request #16 from mvidner/ruby-warnings

Fixed "ruby -w" warnings.