Improved layout algorithm
Now respects MeasureSpec.
Bug fixes.
Removed debug log statements
Merge remote-tracking branch 'github/master'