Fixed up the init function to properly intialize itself when passed full arguments.
Use multiple function heads instead of a case statement.
Removed a debug line.
Fixed a right/left typo.
Removed the timeout from the walk call.