Revert "Quick hack for rounded corners"

This reverts commit 99ff1ce643a7d1b506740fe5be44b4f1b5be4757.
Revert "Revert "Quick hack for rounded corners""

This reverts commit 94257b1d31f09cb39c4038eb154a296a05fbf261.
Revert "New type system, prototype arrays"

This reverts commit c1dab51c32d5bc0ffaec5aafaaa6b15652872fc3.