Removed empty if cases
Removed not needed conditions
Prevent matrix frames from being placeable

Formated code and organized imports
Merge pull request #243 from yueh/fix-242

Prevent matrix frames from being placeable
Merge pull request #240 from thatsIch/alwaystrue

Removed not needed conditions
Merge pull request #239 from thatsIch/emptyif

Removed empty if cases