Unified the old .hasOwnProperty() calls to "!== undefined", it checks for the existence of a property but it's 100x faster than the hasOwnProperty function call.
Couple random fixes/cleanup before "flexboxification" :P