Fixed a few bugs. Added better ubuntu defaults to .profile.