Command Improvements

Improved the command handling code in various ways.
- Moved some checking code around to improve prioritization.
- Added player online-ness checks.
- Fixed some item-lore problems.