Implemented u-boot style setenv behavior, variable handling now works