Many updates: bugfixes, optimization, simplified

Added defines for various things. Simplified pose processing and
prefix processing. Optimized LinkMessage 300 processing.
Removed few things for more memory.

Removed spurious return. Removed excessive debug items.