Fixed notices when $field[value][url] and $field[value][title] are not set
Replace $field[class] with one variable $class
Merge pull request #10 from jmslbam/master

Fix notices and a bit cleanup and variable cleanup. Thanks @jmslbam