added whole disk zfs boot support, cleaned up some code, and removed some useless functions