- Further added mouse functionality.
	TODO:
		- Select mode based on movement after holding RMB.
- Changed resizing to be more robust.