Still working on making setSize and similar functions better