Sweeping style changes.

Also:
 - rewrite queue/priorityqueue in terms of simple adt arrays
 - give players default weapons on spawn