Merge pull request #50 from DaveAckley/master

More locking, generalized element parameters
Fixed newer gcc complaints
New g++ this-> fixes
Added template for Element tutorials
Merge branch 'master' of https://github.com/Sixstring982/MFMv2
HelpPanel mentions lowlighting
Brush size depends on selected tool
Brush ghost gone without toolbox
Ugly colors gone, changed to greyscale
Grid starts in tile-shadow mode
Insane atoms render as yellow stripes
Fix comparison signedness issues