removed unnecessary continue statement
removed unnecessary return statements
compare strings with equals
removed cast
reverted changes for continue statement
reverted changes for continue statement
Merge pull request #90 from hipjim/dev

small code cleanups