Minor syntactic cleanup

Swapped out [] syntax for get/set for maps
Added some inlining to tweens
Removed unnecessary cast