nearly got plasma working totally right, fixed a bunch of shit,
refactored a bunch of shit