More work on shader manager.

Mostly missing filebrowser for shaders now.
Can browse for shader files.

Directory stack is not popped correctly however.
Pathnames are not correctly truncated in browser either. Looks kinda
ugly atm.