Fixed rendering issues, implemented keyboard and mouse events, and made some new interface items